3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
A disk is a two-dimensional surface defined by an origin (that is, the center of the disk) and two vectors that define the major and minor radii of the disk. A disk is defined by the TQ3DiskData data type. See "Creating and Editing Disks" for a description of the routines you can use to create and edit disks. Figure 33 shows a disk.
typedef struct TQ3DiskData {
TQ3Point3D origin;
TQ3Vector3D majorRadius;
TQ3Vector3D minorRadius;
float uMin, uMax, vMin, vMax;
TQ3AttributeSet diskAttributeSet;
} TQ3DiskData;
Previous | QD3D Book | Overview | Chapter Contents | Next |